package com.cskaoyan.service;

import com.cskaoyan.bean.OrderGoods;
import com.cskaoyan.bean.order.bo.*;
import com.cskaoyan.bean.order.vo.OrderDetailVo;
import com.cskaoyan.bean.order.vo.OrderListVo;
import com.cskaoyan.bean.order.vo.WXOrderDetailVo;
import com.cskaoyan.bean.order.vo.WXOrderListVo;

/**
 * @author wangdezhao
 * @date 2021/6/5
 * @description
 */
public interface OrderService {
    OrderListVo getOrderList(OrderListBo listBo);

    OrderDetailVo getOrderDetail(Integer id);

    Integer refund(OrderRefundBo refundBo);

    Integer AddShip(OrderShipBo shipBo);

    WXOrderListVo getWXOrderList(Integer showType, Integer page, Integer size, Integer userId);

    WXOrderDetailVo getWXOrderDetailList(Integer id);

    int cancelWXOrder(WXOrderIdBo cancelBo);

    int refundWXOrder(WXOrderIdBo cancelBo);

    int deleteWXOrder(WXOrderIdBo cancelBo);

    int confirmWXOrder(WXOrderIdBo confirmBo);

    int addWXContent(WXOrderContentBo contentBo);

    OrderGoods getWXGoods(Integer orderId, Integer goodsId);

    int submitWXOrder(WXOrderSubmitBo submitBo);

}
